package com.serviceimp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import com.entity.Jtimagetbale;
import com.mapper.IJtimagetbaleMapper;
import com.service.IJtimagetbaleService;

@Transactional
public class IJtimagetbaleServiceImp implements IJtimagetbaleService{

	@Autowired
	public IJtimagetbaleMapper jtimagetbaleMapper;

	public List<Jtimagetbale> selectJtimagetbale() {
		
		List<Jtimagetbale> list=jtimagetbaleMapper.selectJtimagetbale();
		
		return list;
		
	} 

	public Jtimagetbale queryJtimagetbale(Jtimagetbale jtimagetbale) {
		
		Jtimagetbale jtimagetbale1=jtimagetbaleMapper.queryJtimagetbale(jtimagetbale);
		
		return jtimagetbale1;
		
	}

	public int insertJtimagetbale(Jtimagetbale jtimagetbale) {
				
		int i = jtimagetbaleMapper.insertJtimagetbale(jtimagetbale);
		
		return i;
		
	}

	public int updateJtimagetbale(Jtimagetbale jtimagetbale) {
		
		int i = jtimagetbaleMapper.updateJtimagetbale(jtimagetbale);
		
		return i;
		
	}

	public int deleteJtimagetbale(Jtimagetbale jtimagetbale) {
		
		int i=jtimagetbaleMapper.deleteJtimagetbale(jtimagetbale);
		
		return i;
		
	}
	
}
